/*
 * PayTransferInfoListItem.java
 * business
 *
 * Created by ChenTao on 2017/6/28.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.response.QueryOrderResultResponse;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.PayTransferInfoHolder;

/**
 * 订单支付成功，银行转账信息
 * <p>
 * Created by ChenTao(chentao7v@gmail.com) on 2017-06-28 10:11
 */
public class PayTransferInfoListItem extends DisplayListItem<PayTransferInfoHolder, QueryOrderResultResponse.Data> {

    public PayTransferInfoListItem(QueryOrderResultResponse.Data s) {
        super(s);
    }

    @Override
    public void onShow(Context context, PayTransferInfoHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return PayTransferInfoListItem.class.getSimpleName();
    }

    @Override
    public Class<PayTransferInfoHolder> getViewHolderClazz() {
        return PayTransferInfoHolder.class;
    }
}
